
public class Employee {
	
	/*
	 * 工号(唯一)、姓名、年龄、工资
	 * */
	//工号
	private int jobNo;

	//姓名
	private String name;

	//年龄
	private int age;

	//工资
	private double sal;
	
	public Employee() {
		
	}
	
	
	

	public Employee(int jobNo, String name, int age, double sal) {
		this.jobNo = jobNo;
		this.name = name;
		this.age = age;
		this.sal = sal;
	}




	public int getJobNo() {
		return jobNo;
	}




	public void setJobNo(int jobNo) {
		this.jobNo = jobNo;
	}




	public String getName() {
		return name;
	}




	public void setName(String name) {
		this.name = name;
	}




	public int getAge() {
		return age;
	}




	public void setAge(int age) {
		this.age = age;
	}




	public double getSal() {
		return sal;
	}




	public void setSal(double sal) {
		this.sal = sal;
	}
	
	
	

}
